<script setup>
import HeaderNav from '../components/wangyiyun/HeaderNav.vue'

window.Echo.channel('order') // 这里监听的是通道名字
    .listen('.OrderUpdated', (e) => { // 这是监听的广播别名，事件别名
        console.log(e);
    });
console.log(window.Echo);

</script>

<template>
    <HeaderNav></HeaderNav>

    <el-button>Default</el-button>
</template>

<style scoped>

</style>
